package org.lex.app.sessions;

import java.awt.Component;

public interface Session {
	public Session getComponentProperties(Component c);

	public void restoreComponent(Component c);

	public boolean containsProperty(String property);

	public String[] propertyNames();

	public void clear();

	/**
	 * @param property
	 * @return the value to which the specified property is mapped, or
	 *         {@code null} if contains no mapping for the key
	 */
	public String getProperty(String property);

	public void putProperty(String property, String value);
}
